//
//  DemoViewController.h
//  ConcurrencyStudy
//
//  Created by longhuihu on 11-6-27.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>

@class NSOperationQueue;

@interface DemoViewController : UIViewController {

	UITextView *_textView;
	UIButton *_buttonStart;
	NSOperationQueue *_queue;
}
@property(nonatomic,retain) IBOutlet NSOperationQueue* queue;
@property(nonatomic,retain) IBOutlet UITextView* textView;
@property(nonatomic,retain) IBOutlet UIButton* buttonStart;

-(IBAction)actionStart:(id)sender;

-(void)startOperation;
-(void)showLog:(id)log;
-(void)clearTextView;

@end
